#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
const int N = 50010;
int d, n, m, ans;
int a[N];

bool check(int x) { 
	int cnt = 0;
	int i = 0, now = 0;
	while (i < n + 1) {
		i++;
		if (a[i] - a[now] < x) cnt++;
		else now = i;
	}
	if (cnt > m) return false;
	else return true;
}


int main() {
	cin >> d >> n >> m;
	for (int i = 1; i <= n; i++) cin >> a[i];
	int l = 0, r = d + 1;
	a[0] = 0;
	a[n + 1] = d;
	while (l + 1 < r) {
		int mid = (l + r) / 2;
		if (check(mid)) l = mid;
		else r = mid;
	}
	cout << l << endl;
	return 0;
}

	
